/*
 * DefaultCurrencyLoader.java
 *
 *  
 */
package org.msb.finance.data;

import java.util.Currency;

/**
 * 
 * 
 * @author Marc
 * 
 */
public class DefaultCurrency {

	/**
	 * 
	 */
	private Currency defaultCurrency;

	/**
	 * 
	 */
	public DefaultCurrency() {
		this.defaultCurrency = Currency.getInstance("CAD"); //$NON-NLS-1$
	}

	/**
	 * 
	 * @param currency
	 */
	public void setDefaultCurrency(Currency currency) {
		this.defaultCurrency = currency;
	}

	/**
	 * 
	 * @return
	 */
	public Currency getDefaultCurrency() {
		return this.defaultCurrency;
	}

	/**
	 * 
	 * @return
	 */
	public String getDefaultCurrencyCode() {
		return getDefaultCurrency().getCurrencyCode();
	}
}
